from typing import List


class Guarantee:
    def __init__(self,
            id: int,
            name: str):
        self._id = id
        self._name = name   # 保障环节名称

    @property
    def id(self):
        return self._id

class GuaranteeStep:
    def __init__(self,
            id: int,
            name: str,
            department_id: int,
            department_code: str,
            group_min_employee: int,
            group_max_employee: int,
            group: List):
        self._id = id
        self._name = name
        self._department_id = department_id
        self._department_code = department_code
        self._group_min_employee = group_min_employee
        self._group_max_employee = group_max_employee
        self._group = group

    @property
    def id(self):
        return self._id

    @property
    def name(self):
        return self._name

    @property
    def department_id(self):
        return self._department_id

    @property
    def department_code(self):
        return self._department_code
    
    @property
    def group_min_employee(self):
        return self._group_min_employee

    @property
    def group_max_employee(self):
        return self._group_max_employee

    @property
    def group(self):
        return self._group
